const util = {
	isObjectEquals: function(obj1, obj2) {
		var flag = true;
		for (key in obj1) {
			if (obj2[key] === undefined) {
				return false;
			} else {
				if (obj1[key] instanceof Object) {
					if (!this.isObjectEquals(obj1[key], obj2[key])) {
						return false;
					}
				}
				if (obj2[key] !== obj1[key]) {
					return false;
				}
			}
		}
		for (key in obj2) {
			if (obj1[key] === undefined) {
				return false;
			} else {
				if (obj2[key] instanceof Object) {
					if (!this.isObjectEquals(obj2[key], obj1[key])) {
						return false;
					}
				}
				if (obj1[key] !== obj2[key]) {
					return false;
				}
			}
		}
		return flag;
	}
}